From 110c31681051c86a7fd7629a442e352883b5c1e9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Jun 2020 12:23:28 -0400 Subject: [PATCH] columnview: Increase the autoscroll threshold With autoscroll during DND, we stop when you hit the edge of the widget, so a larger threshold makes sense to avoid hitting the edge by accident. --- gtk/gtkcolumnview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c index 1b6be13a44..48f785d34a 100644 --- a/gtk/gtkcolumnview.c +++ b/gtk/gtkcolumnview.c @@ -779,7 +779,7 @@ remove_autoscroll (GtkColumnView *self) } } -#define SCROLL_EDGE_SIZE 15 +#define SCROLL_EDGE_SIZE 30 static void update_autoscroll (GtkColumnView *self, -- 2.30.2